package com.atguigu.springcloud.server;

import org.springframework.stereotype.Service;

@Service
public class paymentFallbackServer implements PaymentHyStrixServer{
    //本类为服务降级
    @Override
    public String payment_OK(Integer id) {
        return "paymentFallbackServer fallback payment_OK";
    }

    @Override
    public String payment_timeout(Integer id) {
        return "paymentFallbackServer fallback payment_timeout";
    }
}
